package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.Resource;

public interface ResourceService {
	
	public boolean updateResource(Resource resource);
	
	public boolean deleteResources(String ids);
	
	public PaginatedList<Resource> findAllResources(int start,int limit,Map<String,String> map);

	public List<Resource> findAuthorityResources(int auId);

	public List<Resource> findResources(boolean b);
	
	public Resource findResourceByName(String name);
}
